package com.sky.service;

import com.sky.dto.PageDTO;
import com.sky.dto.SetmealDTO;
import com.sky.entity.Setmeal;
import com.baomidou.mybatisplus.extension.service.IService;
import com.sky.query.SetmealQuery;
import com.sky.vo.DishItemVO;
import com.sky.vo.SetmealVO;

import java.util.List;

/**
* @author 马毅爽
* @description 针对表【setmeal(套餐)】的数据库操作Service
* @createDate 2023-11-06 19:31:40
*/
public interface SetmealService extends IService<Setmeal> {

    PageDTO<SetmealVO> queryPage(SetmealQuery setmealQuery);

    void save(SetmealDTO setmealDTO);

    void updateStatus(Integer status, Long id);

    void updateSetmeal(SetmealDTO setmealDTO);

    SetmealVO queryById(Long id);

    void deleteByIds(List<Long> ids);

    List<Setmeal> listByCategoryId(Long categoryId);

    List<DishItemVO> queryDishById(Long id);
}
